<?exit?>
<!--{template header}-->
<!--{eval $ads = getad('system', 'indexad', '1'); }-->
<!--{if !empty($ads['pageheadad']) }-->
	<div class="ad_header">$ads[pageheadad]</div>
<!--{/if}-->
</div><!--header end-->

<div id="nav">
	<div class="main_nav">
		<ul>
			<li class="current"><a href="{S_URL}/index.php">首页</a></li>
			<li id="user_space"><a href="#">账户中心</a></li>
			<li><a href="{S_URL}/?action-category-catid-15">新闻资讯</a></li>
			<li><a href="{S_URL}/?action-category-catid-20">游戏攻略</a></li>
			<li><a href="{S_URL}/?action-category-catid-21">游戏心情</a></li>
			<li><a href="{S_URL}/?action-bbs">论坛</a></li>
			<form action="{S_URL}/batch.search.php" method="post">
				<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
				<input type="hidden" name="searchname" id="searchname" value="subject" />
				<input type="hidden" value="news" name="type">
				<p class="footer_search">
					<select name="searchtxt" id="searchtxt" onchange="changetype();">
						<option value="标题">标题</option>
						<option value="内容">内容</option>
						<option value="作者">作者</option>
					</select>
					<input class="input_tx" type="text" value="" name="searchkey" size="30"/>
					<input class="input_search" type="submit" value="搜索" name="searchbtn"/>
				</p>
			</form>
		</ul>
		
	</div>
</div><!--nav end-->

<div class="column">
	<div class="col1">
		<div class="col3">
				
			<!--新闻 活动公告-->
			<!--{block name="spacenews" parameter="catid/15/order/i.dateline DESC,i.digest DESC/limit/0,10/cachetime/900/cachename/news_notice/tpl/data"}--><!--新闻公告-->
			<div class="global_module">
				<div class="global_module4_caption" id="bbs_info" ><h3 class="current">新闻公告</h3><h3>活动公告</h3></div>
				<ul class="global_tx_list1">
					<!--{loop $_SBLOCK['news_notice'] $value}-->
					<li><span class="dateline">[ #date('n-d', $value["dateline"])# ]</span><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
					<!--{/loop}-->
				</ul>
				<!--{block name="spacenews" parameter="catid/16/order/i.dateline DESC,i.digest DESC/limit/0,10/cachetime/900/cachename/activity_notice/tpl/data"}--><!--活动公告-->
				<ul class="global_tx_list1 hidden">
					<!--{loop $_SBLOCK['activity_notice'] $value}-->
					<li><span class="box_r"><a href="{S_URL}/space.php?uid=$value[authorid]">$value[author]</a></span><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
					<!--{/loop}-->
					<div class="clr"></div>
				</ul>
				<div class="clr"></div>
			</div><!--新闻 活动公告 end-->
		
			<!--{block name="spacenews" parameter="order/i.viewnum DESC/limit/0,17/cachetime/86900/subjectlen/40/subjectdot/0/showdetail/1/messagelen/100/messagedot/1/cachename/hotnews"}-->
			<!--{if !empty($_SBLOCK['hotnews'])}-->
			<!--{eval $hotnews = @array_slice($_SBLOCK['hotnews'], 0, 5)}-->
			<!--{/if}-->
			<!--{block name="announcement" parameter="order/displayorder DESC,starttime DESC/limit/0,3/cachetime/96400/subjectlen/34/subjectdot/0/cachename/announce"}-->
			
				
				
					<!--{if empty($_SBLOCK['announce'])}-->
					
					<!--{else}-->
					<!--{loop $_SBLOCK['announce'] $value}-->
					<!--<li><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>-->
					<!--{/loop}-->
					<!--{/if}-->
				
			
		</div><!--col3 end-->
		
		<!--最新资讯-->
		<div class="col4" id="hot_news">
			<!--{block name="spacenews" parameter="haveattach/2/order/i.dateline DESC/limit/0,4/cachetime/83400/subjectlen/40/subjectdot/0/cachename/hotnewspic"}-->
			<div id="focus_turn">
				<!--{if !empty($_SBLOCK['hotnewspic'])}-->
				<ul id="focus_tx">
					<!--{eval $i = 0}-->
					<!--{loop $_SBLOCK['hotnewspic'] $key $value}-->
					<!--{eval $current = ($i == 0 ? 'current' : 'normal');}-->
					<li class="$current"><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
					<!--{eval $i++}-->
					<!--{/loop}-->
				</ul>
				<ul id="focus_pic">
					<!--{eval $j = 0}-->
					<!--{loop $_SBLOCK['hotnewspic'] $pkey $pvalue}-->
					<!--{eval $pcurrent = ($j == 0 ? 'current' : 'normal');}-->
					<li class="$pcurrent"><a href="$pvalue[url]"><img src="$pvalue['a_filepath']" alt="" /></a></li>
					<!--{eval $j++}-->
					<!--{/loop}-->
				</ul>
				<div id="focus_opacity"></div>
				<!--{/if}-->
			</div><!--focus_turn end-->
		</div><!--col4 end-->
				
	</div><!--col1 end-->
	<div class="col2">
		<div id="user_login">
			<script src="{S_URL}/batch.panel.php?rand={eval echo rand(1, 999999)}" type="text/javascript" language="javascript"></script>
			<div class="want_pay"><img width="220" height="100" src="{S_URL}/images/want_to_pay.png" alt="我要充值" /></div>
		</div><!--user_login end-->
	</div><!--col2 end-->
</div><!--column end-->

<!--{if !empty($ads['pagecenterad'])}-->
<div class="ad_pagebody">$ads[pagecenterad]</div>
<!--{/if}-->

<div class="column">
	<div class="col2_l">
		<!--游戏服务器列表-->
		<!--{block name="category" parameter="type/news/upid/14/isroot/2/order/c.displayorder ASC/limit/0,10/cachetime/900/cachename/server_list/tpl/data"}--><!--服务器列表-->
		<div class="global_module1" id="game_server_list">
		<div class="inner_border">
			<div class="global_module5_caption"><h3>游戏服务器列表</h3></div>
		<!--{eval $i = 1;}-->
		<!--{loop $_SBLOCK['category'] $ckey $cat}-->
		<!--{eval $ctime=1800+30*$ckey;}-->
		<!--{eval $cachetime = 1877+30*$ckey;}-->
		<!--{block name="spacenews" parameter="catid/$cat[subcatid]/order/i.dateline DESC/limit/0,6/cachetime/$cachetime/subjectlen/36/subjectdot/0/cachename/newslist"}-->	
		<div>	
			<div class="global_module6_caption"><span class="box_r margin_r10">$cat[note]</span><h3>$cat[name]</h3></div>
			<ul class="global_tx_list7 hidden">
				<li class="head"><span class="box_r">开服时间</span><a href="#">服务器列表</a></li>
				<!--{loop $_SBLOCK['newslist'] $value}-->
				<li><span class="box_r">[ #date('m-d', $value['dateline'])# ]</span><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
				<!--{/loop}-->
			</ul>
		</div>		
		<!--{eval $i++;}-->
		<!--{/loop}-->
		</div><!--游戏服务器列表 end-->
		</div>
		
		<!--客服热线-->
		<div class="service">
			<h3>客服热线</h3>
			<div class="contact">
				<ul>
					<li>Q Q:1234567890(24小时在线)</li>
					<li>电话:027-82789784(9:00-24:00)</li>
					<li>传真:027-82789784</li>
					<li>abcdefg@13kuai.com</li>
				</ul>
			</div>
		</div>
		<!--客服热线 end-->
	</div>
	<div class="col1_r">
		<!--{block name="spacenews" parameter="catid/17/haveattach/2/showattach/1/showdetail/1/order/i.digest DESC,i.dateline DESC/limit/0,8/cachetime/900/cachename/recommend_games/tpl/data"}--><!--游戏推荐-->
		<!--游戏推荐-->
		<div class="global_module margin_bot10" style="*height:569px;">
			<div class="global_module1_caption"><h3>游戏推荐</h3></div>
			<div class="pad10">
			<!--{eval $j = 1;}-->			
			<!--{loop $_SBLOCK['recommend_games'] $value}-->
			<!--{if $j < 3}-->
			<!--{if ($j%2)==0}-->
			<div class="global_module1 recommend_game box_r">
			<!--{else}-->
			<div class="global_module1 recommend_game box_l">
			<!--{/if}-->	
				<div class="box_l"><img src="$value[a_filepath]" alt="$value[a_subject]" /></div>
				<div>
					<h1>$value[subject]</h1>
					<ul>
					<li>类型:$value[newsauthor]</li>
					<li>状态:$value[newsfrom]</li>
					<li>推荐程度:<font color="Red">★★★★★</font></li>
					</ul>
				</div>
				<div style="clear:both;">
				<ul style="height:26px;">
					<li class="orange"><a href="#">进入游戏</a></li>
					<li class="green"><a href="#">快速注册</a></li>
					<li class="blue"><a href="#">官方网站</a></li>
					<li class="green"><a href="#">新手指南</a></li>
				</ul>
				</div>
				<div class="game_intro">
					游戏简介: $value[message]
				</div>
			</div>
			<!--{else}-->
			
			<!--{if ($j%2)==0}-->
			<div class="global_module1 recommend_game2 box_r">
			<!--{else}-->
			<div class="global_module1 recommend_game2 box_l">
			<!--{/if}-->			
				<div><img src="$value[a_filepath]" alt="$value[a_subject]" /></div>
				<div class="link_btn">
					<h1>$value[subject]</h1>
					<ul>
						<li class="orange"><a href="#">进入游戏</a></li>
						<li class="green"><a href="#">快速注册</a></li>
						<li class="blue"><a href="#">官方网站</a></li>
						<li class="green"><a href="#">新手指南</a></li>
					</ul>
				</div>
				<div class="hidden">
					游戏简介: $value[message]
				</div>
			</div>
			<!--{/if}-->
			<!--{eval $j++;}-->
			<!--{/loop}-->			
			</div>
		</div><!--游戏推荐 end-->
	
		<!--游戏攻略-->
		<!--{block name="spacenews" parameter="catid/20/order/i.dateline DESC,i.viewnum DESC/limit/0,10/cachetime/900/cachename/game_walkthrough/tpl/data"}--><!--游戏攻略-->
		<div class="global_module col6">
			<div class="global_module7_caption"><h3 class="workthough">游戏攻略</h3><a class="more" href="#action-category-catid-20#">更多&gt;&gt; </a></div>
			<ul class="global_tx_list1">
				<!--{loop $_SBLOCK['game_walkthrough'] $value}-->
				<li class="game"><span class="box_r">[ #date('m-d', $value['dateline'])# ]</span><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
				<!--{/loop}-->
			</ul>
		</div><!--游戏攻略 end-->
		
		<!--游戏心情-->
		<!--{block name="spacenews" parameter="catid/21/order/i.dateline DESC,i.viewnum DESC/limit/0,10/cachetime/900/cachename/game_feeling/tpl/data"}--><!--游戏心情-->
		<div class="global_module col6 margin_l10">
			<div class="global_module7_caption"><h3 class="feeling">游戏心情</h3><a class="more" href="#action-category-catid-20#">更多&gt;&gt; </a></div>
			<ul class="global_tx_list1">
				<!--{loop $_SBLOCK['game_feeling'] $value}-->
				<li class="game"><span class="box_r">[ #date('m-d', $value['dateline'])# ]</span><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
				<!--{/loop}-->
			</ul>
		</div><!--游戏心情 end-->	
	</div>
</div>

<div class="column uc_border">
	<div class="uchome_module"><h3>13kuai最新动态</h3></div>
	<div class="pad10">
		<!--{block name="bbsmember" parameter="limit/0,12/cachetime/900/cachename/active_user/tpl/data"}--><!--活跃用户-->
		<div class="col8">
			<div>
				<div class="global_module9_caption"><h3>活跃用户</h3></div>
				<ul class="global_avatar_list new_avatar">
					<!--{loop $_SBLOCK['active_user'] $value}-->
						<li><a href="{S_URL}/space.php?uid=$value[uid]"><img src="{UC_API}/avatar.php?uid=$value[uid]&size=small" alt="$value[username]" /></a><span><a href="{S_URL}/space.php?uid=$value[uid]">$value[username]</a></span></li>
					<!--{/loop}-->
				</ul>
			</div>
		</div><!--col2 end-->
		
		<div class="user_status">
			<h3>看看 13kuaier 们现在正在做什么…</h3>
			<div id="templayer" style="position:absolute;z-index:1;visibility:hidden"></div>
			<ul id="scrollbody" class="line_list" style="overflow: hidden; height: 250px;">
			<script language="javascript" type="text/javascript" src="http://localhost/uchome/js.php?id=2"></script>
			</ul>
		</div>
		
		<div class="col8">
			<div>
				<div class="global_module9_caption"><h3>热门应用</h3></div>
				<ul class="global_tx_list1">
					
				</ul>
			</div>
		</div><!--col1 end-->
	</div>
</div><!--column end-->

<!--{if !empty($ads['pagefootad'])}-->
<div class="ad_pagebody">$ads[pagefootad]</div>
<!--{/if}-->

<!--{block name="friendlink" parameter="order/displayorder/limit/0,100/cachetime/11600/namelen/32/cachename/friendlink/tpl/data"}-->
<div class="global_module border_double">
	<span class="line">a</span>
	<!--{eval $imglink=$txtlink="";}-->
	<!--{loop $_SBLOCK['friendlink'] $value}-->
	<!--{if $value[logo]}-->
	<!--{eval $imglink .= "<a href=\"".$value[url]."\" target=\"_blank\"><img src=\"".$value[logo]."\" alt=\"".$value[description]."\"  border=\"0\" /></a>\n";}-->
	<!--{else}-->
	<!--{eval $txtlink .= "<li><a href=\"".$value[url]."\" title=\"".$value[description]."\" target=\"_blank\">".$value[name]."</a></li>\n";}-->
	<!--{/if}-->
	<!--{/loop}-->
	<!--{if !empty($imglink)}-->
	<div class="links_img">
		$imglink
	</div>
	<!--{/if}-->
	<!--{if !empty($txtlink)}-->
	<div class="links_tx">
		<ul class="s_clear">
			$txtlink
		</ul>
	</div>
<!--{/if}-->
</div>

<!--{if !empty($ads['pagemovead']) || !empty($ads['pageoutad'])}-->
<!--{if !empty($ads['pagemovead'])}-->
<div id="coupleBannerAdv" style="z-index: 10; position: absolute; width:100px;left:10px;top:10px;display:none">
	<div style="position: absolute; left: 6px; top: 6px;">
		$ads[pagemovead]
		<br />
		<img src="{S_URL}/images/base/advclose.gif" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');">
	</div>
	<div style="position: absolute; right: 6px; top: 6px;">
		$ads[pagemovead]
		<br />
		<img src="{S_URL}/images/base/advclose.gif" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');">
	</div>
</div>
<!--{/if}-->
<!--{if !empty($ads['pageoutad'])}-->
<div id="floatAdv" style="z-index: 10; position: absolute; width:100px;left:10px;top:10px;display:none">
	<div id="floatFloor" style="position: absolute; right: 6px; bottom:-700px">
		$ads[pageoutad]
	</div>
</div>
<!--{/if}-->
<script type="text/javascript" src="{S_URL}/include/js/floatadv.js"></script>
<script type="text/javascript">
<!--{if !empty($ads['pageoutad'])}-->
var lengthobj = getWindowSize();
lsfloatdiv('floatAdv', 0, 0, 'floatFloor' , -lengthobj.winHeight).floatIt();
<!--{/if}-->
<!--{if !empty($ads['pagemovead'])}-->
lsfloatdiv('coupleBannerAdv', 0, 0, '', 0).floatIt();
<!--{/if}-->
</script>
<!--{/if}-->

<!--{if !empty($ads['pageoutindex'])}-->
$ads[pageoutindex]
<!--{/if}-->

<!--{template footer}-->
